﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Coldairarrow.Entity.PB
{
    /// <summary>
    /// 排班明细表
    /// </summary>
    [Table("PB_ScheduleDetail")]
    public partial class PB_ScheduleDetail
    {

        /// <summary>
        /// 主键
        /// </summary>
        [Key, Column(Order = 1)]
        public String Id { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 创建人Id
        /// </summary>
        public String CreatorId { get; set; }

        /// <summary>
        /// 创建人姓名
        /// </summary>
        public String CreatorRealName { get; set; }

        /// <summary>
        /// 否已删除
        /// </summary>
        public Boolean Deleted { get; set; }

        /// <summary>
        /// 父表ID
        /// </summary>
        public String ParentId { get; set; }


        public DateTime WorkDate { get; set; }
        /// <summary>
        /// 员工ID
        /// </summary>
        public String UserId { get; set; }

   
        public String Type { get; set; }

        /// <summary>
        /// 加工数量
        /// </summary>
        public Int32? Nums { get; set; }

    }
}